package com.huawei.appgallery.wishwall.ui.cardkit.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import com.huawei.appgallery.wishwall.ui.cardkit.card.WishWallListCard;
import o.azb;
import o.cdr;
import o.ddq.c;

public class WishWallListNode extends cdr {
    public WishWallListNode(Context context) {
        super(context, 1);
    }

    public WishWallListNode(Context context, int i) {
        super(context, i);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        View view = (RelativeLayout) LayoutInflater.from(this.ॱ).inflate(ˋ(), null);
        azb.ˏ(view);
        ˊ(ˏ(view));
        viewGroup.addView(view);
        return true;
    }

    private WishWallListCard ˏ(View view) {
        WishWallListCard wishWallListCard = new WishWallListCard(this.ॱ);
        wishWallListCard.ˏ(view);
        return wishWallListCard;
    }

    public int ˋ() {
        return c.ॱ;
    }
}
